﻿namespace ZilLion.Service.Core.MongoDbManager
{
    /// <summary>
    /// IMongoDbContext
    /// </summary>
    public interface IMongoDbContext
    {
        /// <summary>
        /// Server连接字符串
        /// </summary>
         string ServerConnectString { get; set; }

        /// <summary>
        /// 连接数据库名称
        /// </summary>
         string DatabaseName { get; set; }

        ///// <summary>
        ///// 存储类型
        ///// </summary>
        // StorageType StorageType { get; set; }

        /// <summary>
        ///存储根名称
        /// </summary>
         string RootName { get; set; }
    }


    ///// <summary>
    ///// Mongo存储类型
    ///// </summary>
    //public enum StorageType
    //{
    //    /// <summary>
    //    /// 文件类型
    //    /// </summary>
    //    GridFs,
    //    /// <summary>
    //    /// 对象类型
    //    /// </summary>
    //    ObjectDb,
    //}
}